package com.jqsoft.launcher.common;


public class Constant {
    /**
     * 显示版本更新
     */
    public static final int SHOW_UPDATE = 500;
    public static final int SHOW_BANK_NOTICE = 100;

    public static final int UPDATE_DOWNLOAD_COMPLETED = 8;
    public static final int MSG_LOAD_OVER = 1;
    public static final int MSG_LOAD_ERROR = 2;
    public static final int MSG_LOAD_ZARO = 0;
    public static final int MSG_LOAD_EMPTY = 3;
    public static final int MSG_LOAD_INIT = 4;
    public static final int MSG_LOAD_DISMISS = -1;
    public static final int UPDATE_NORMOL = 12;
    public static final int GET_LOCATION = 13;
    public static final int MSG_NO_COLLECT = 14;
    public static final int MSG_DISMISS_PROGRESSBAR=15;

    public static final int UPDATE_DOWNLOADING = 6;
    public static final int UPDATE_DOWNLOAD_ERROR = 7;
    public static final int UPDATE_DOWNLOAD_CANCELED = 9;
    public static final int WLANCONNECT = 10;
    public static final int LOADTHREAD = 11;
    public static final int IMAGEREVERT = 18;
    public static final int TIJIAO_OVER = 21;
    public static final int TIJIAO_ERROR = 22;
    public static final int TIJIAO_SCCUSE = 23;
    public static final int BAOCUN_OVER = 25;
    public static final int BAOCUN_ERROR = 26;
    public static final int DELETOK = 101;
    public static final int PAGE_SIZE = 8;
    public static final int JIAOYANCODE = 100;
    public static final int JIAOYANOVER = 101;

    public static final String NOT_BIND = "1";// 未绑定
    public static final String HAS_BIND = "0";// 绑定

    public static final String DEVICE_BIND_URL = "DEVICE_BIND_URL";
    public static final String LOGIN_URL = "LOGIN_URL";

    public static final String WEB_ROOT = "WEB_ROOT";
    public static final String CMNET_ROOT = "CMNET_ROOT";
    public static boolean IS_EXIT = true;
    /**
     * 标记是否是activity点击返回按钮,跳转到的activity
     */
    public static final int GO_BACK = -111;

    public static final String ECG_DATA_DIR="/jqsoftGareaEcg/ecg";

    public static final String ECG_FILE_NAME="ecg_data_file.dat";
    public static final String ECG_TEST_FILE_NAME_SHORT_ARRAY ="ecg_data_test_file_short_array.dat";
    public static final String ECG_TEST_FILE_NAME_BYTE_ARRAY ="ecg_data_test_file_byte_array.dat";

    /**
     * 检查更新
     */
    public static final String UPDATE_NOW = "立即更新";
    public static final String UPDATE_DELAY = "以后再说";

    public static final String CONNECTED = "CONNECTED";

    public static final String UPDATE_STATUS_FORCE = "3";// 强制更新
    public static final String UPDATE_STATUS_RECOMMEND = "2";// 推荐更新
    public static final String UPDATE_STATUS_NO = "1";// 无更新

    /**
     * http client 超时时间
     */
    public static final int Http_Connection_Timeout = 30 * 1000;// 8000
    public static final int Http_Connection_SO_TIMEOUT = 32 * 1000;// 32000
    /**
     * 强制关闭等待层的时间120秒
     */
    public static final int CLOSE_WAIT_PANEL_MILLISECOND = 90 * 1000;// 32000
    /**
     * 用于主界面关闭等待层...
     */
    public static final int closePanel = 5 * 1000;// 32000

    public static final String NO_NET = "无法链接互联网，请检查您的网络设置！";


    public static final String PRINT_HINT_BITMAP_NULL = "所要打印的图片为空";
    public static final String PRINT_HINT_PRINT_SUCCESS = "打印图片成功";
    public static final String PRINT_HINT_NOT_SUPPORT_PRINT = "本设备不支持打印";
    public static final String PRINT_HINT_HTML_DOCUMENT_EMPTY = "打印内容为空";
}
